
const menu = {
    namespace: 'menu',
    state: {},
    reducers: {
        change(oldmenu: any, { payload: { url } }) {
            let rs = {
                ...oldmenu,
                current: url
            }
            return rs;
        }
    }
};

export default menu;
